#include "jeu.h"

unsigned char correction (grille joueur, grille solution)
{
  unsigned char i=0;
  while (i<81) {
    if (GgetNumberIndex(joueur,i)!=GgetNumberIndex(solution,i)) return 1;
    i++;
  }
  return 0;
}

unsigned char nbAleat (unsigned char nbmin, unsigned char nbmax)
{
	unsigned char r = rand()%(nbmax-nbmin+1)+nbmin;
	return r;
}
